<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ParentPatner
 *
 * @author seth
 */
class ParentPatner {
    //put your code here
    var $parentName;
    var $id;
    var $itemname;
    var $directlink;
    var $fxn;
    public function __construct($row) {
        $this->id = $row["content_id"];
         $this->directlink = $row["direct_link"];
        $this->itemname = $row["page_title"];
           $this->fxn = new Utils();
    }


function getURL()
{
   return $this->fxn->processURL("page", $this->id, $this->itemname, $this->directlink);

}

}
?>
